﻿using AppEszköz.Xml;
using AppEszköz.ErrorControl;
namespace AppEszköz.ErrorControl.Writers
{
    internal class XmlErrorWriter : ErrorWriter
    {
        public override void Write(ErrorEntry error)
        {
            new XmlFileWriter(ErrorSettings.File, "ErrorLog", ErrorSettings.FileMaxKBytes).Write(error.ToString());
        }
    }
}